package com.java.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author caiyuan
 * @version 1.0
 * @Date 2020/6/16 14:52 Dream-Seeker
 * @Description
 */
public class PsInspectiontaskMain {
    private Integer id;
    private Integer psId;
    private String inspectionTaskCode;
    private String inspectionTaskName;
    private Integer lineId;
    private String lineCode;
    private String lineName;
    private Integer startPole;
    private String startPoleCode;
    private Integer endPole;
    private String endPoleCode;
    private String issuedByCode;
    private String issuedByName;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date issuedTime;
    private Integer taskStatus;
    private String taskStatusName;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date finishTime;
    private String common;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date creationTime;
    private String createdBy;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lastUpdateTime;
    private String isCancel;


    public PsInspectiontaskMain() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPsId() {
        return psId;
    }

    public void setPsId(Integer psId) {
        this.psId = psId;
    }

    public String getInspectionTaskCode() {
        return inspectionTaskCode;
    }

    public void setInspectionTaskCode(String inspectionTaskCode) {
        this.inspectionTaskCode = inspectionTaskCode;
    }

    public String getInspectionTaskName() {
        return inspectionTaskName;
    }

    public void setInspectionTaskName(String inspectionTaskName) {
        this.inspectionTaskName = inspectionTaskName;
    }

    public Integer getLineId() {
        return lineId;
    }

    public void setLineId(Integer lineId) {
        this.lineId = lineId;
    }

    public String getLineCode() {
        return lineCode;
    }

    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public Integer getStartPole() {
        return startPole;
    }

    public void setStartPole(Integer startPole) {
        this.startPole = startPole;
    }

    public String getStartPoleCode() {
        return startPoleCode;
    }

    public void setStartPoleCode(String startPoleCode) {
        this.startPoleCode = startPoleCode;
    }

    public Integer getEndPole() {
        return endPole;
    }

    public void setEndPole(Integer endPole) {
        this.endPole = endPole;
    }

    public String getEndPoleCode() {
        return endPoleCode;
    }

    public void setEndPoleCode(String endPoleCode) {
        this.endPoleCode = endPoleCode;
    }

    public String getIssuedByCode() {
        return issuedByCode;
    }

    public void setIssuedByCode(String issuedByCode) {
        this.issuedByCode = issuedByCode;
    }

    public String getIssuedByName() {
        return issuedByName;
    }

    public void setIssuedByName(String issuedByName) {
        this.issuedByName = issuedByName;
    }

    public Date getIssuedTime() {
        return issuedTime;
    }

    public void setIssuedTime(Date issuedTime) {
        this.issuedTime = issuedTime;
    }

    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getTaskStatusName() {
        return taskStatusName;
    }

    public void setTaskStatusName(String taskStatusName) {
        this.taskStatusName = taskStatusName;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public String getCommon() {
        return common;
    }

    public void setCommon(String common) {
        this.common = common;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getIsCancel() {
        return isCancel;
    }

    public void setIsCancel(String isCancel) {
        this.isCancel = isCancel;
    }

    @Override
    public String toString() {
        return "PsInspectiontaskMain{" +
                "id=" + id +
                ", psId=" + psId +
                ", inspectionTaskCode='" + inspectionTaskCode + '\'' +
                ", inspectionTaskName='" + inspectionTaskName + '\'' +
                ", lineId=" + lineId +
                ", lineCode='" + lineCode + '\'' +
                ", lineName='" + lineName + '\'' +
                ", startPole=" + startPole +
                ", startPoleCode='" + startPoleCode + '\'' +
                ", endPole=" + endPole +
                ", endPoleCode='" + endPoleCode + '\'' +
                ", issuedByCode='" + issuedByCode + '\'' +
                ", issuedByName='" + issuedByName + '\'' +
                ", issuedTime=" + issuedTime +
                ", taskStatus=" + taskStatus +
                ", taskStatusName='" + taskStatusName + '\'' +
                ", finishTime=" + finishTime +
                ", common='" + common + '\'' +
                ", creationTime=" + creationTime +
                ", createdBy='" + createdBy + '\'' +
                ", lastUpdateTime=" + lastUpdateTime +
                ", isCancel='" + isCancel + '\'' +
                '}';
    }
}
